import BaseModel from './baseModel'
import { Api } from '@ajax/api'
import { CATCH_KEY_HOME_LINK_LIST } from './cacheKey'

export default class HomeLinkModel extends BaseModel {

  // 加载全部的URL
  static loadAllApi = Api.homeLink.all
  // 所有数据缓存的KEY
  static LOAD_ALL_CACHE_KEY = CATCH_KEY_HOME_LINK_LIST

  // 标题
  title!: string
  // 链接
  link!: string
}